<template>
  <header>
    <div class="header-one">
       <h2>在线商城后台管理系统</h2>
    </div>
    <div class="header-two">
      <div class="tou">
        <img src="../../../assets/logo.png" alt="">
        <div>登录者账号</div>
      </div>
      <div class="lie">
        <ul>
          <li> <a href="">修改密码</a></li>
          <li> <a href="">退出登录</a></li>
        </ul>
      </div>
    </div>
  </header>
</template>

<script setup>


</script>

<style scoped>
header{
    width: 100%;
    height: 15vh;
    background-color: #2a2a33;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.header-one{
  margin: 10px;
}
.header-two{
  margin: 10px;
}
header .header-one h2{
  color: rgb(251, 255, 0);
  font-size: 30px;
  font-weight: 800;
}
.header-two .tou{
  display: flex;
  align-items: center;
}
.header-two .tou div{
  color: white;
  font-size: 20px;
}
.header-two .tou img{
  width: 50px;
  height: 50px;
  border-radius: 50%;
}
.header-two .lie{
  position: absolute;
}
.header-two .lie ul{
  background-color: #688be98c;
  width: 150px;
  height: 100px;
  position: absolute;
  top: 5px;
}
.header-two .lie ul li{
  text-align: center;
}
.header-two .lie ul li a{
  color: black;
  font-size: 25px;
  margin: 5px;
}
</style>